package xyz.zhzby.cyzx.oj.service;

import xyz.zhzby.cyzx.oj.dto.request.CheckPointAddRequest;
import xyz.zhzby.cyzx.oj.dto.response.CheckPointInfo;
import xyz.zhzby.cyzx.oj.entity.Checkpoint;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 测试点 服务类
 * </p>
 *
 * @author zby
 * @since 2021-12-26
 */
public interface ICheckpointService extends IService<Checkpoint> {

    void linkProblemCheckpoint(Long id, List<CheckPointAddRequest> checkPoints);

    List<CheckPointInfo> getLinkCheckpointsByProblemID(Long problemID);

    int getNumById(Long checkpointId);
}
